From a14abe4c95026d5ede0950b43b5f0eeee1a0931d Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 18 Mar 2009 21:46:57 +0000 Subject: [PATCH] (rmail-retry-ignored-headers): Add usual mime headers. (rmail-retry-failure): Undo previous change. --- lisp/mail/rmail.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 32349dbb0f0..053f88629ff 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el @@ -371,7 +371,7 @@ If nil, display all header fields except those matched by :group 'rmail-headers) ;;;###autoload -(defcustom rmail-retry-ignored-headers "^x-authentication-warning:" +(defcustom rmail-retry-ignored-headers "^x-authentication-warning:\\|content-type:\\|content-transfer-encoding:\\|mime-version:" "Headers that should be stripped when retrying a failed message." :type '(choice regexp (const nil :tag "None")) :group 'rmail-headers) @@ -3762,7 +3762,6 @@ specifying headers which should not be copied into the new message." (mail-sendmail-delimit-header) (save-restriction (narrow-to-region (point-min) (mail-header-end)) - (rmail-delete-headers rmail-ignored-headers) (rmail-delete-headers rmail-retry-ignored-headers) (rmail-delete-headers "^\\(sender\\|return-path\\|received\\):") (setq resending (mail-fetch-field "resent-to")) -- 2.30.2